package cn.xopencode.userservice.rpc.matter.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 返回重大事项详细信息时用的DTO
 *
 * @Author xiaodawei
 * @since 2021/9/22
 */
@Data
@Accessors(chain = true)
@ApiModel("重大事项详细信息")
public class MatterDTO extends CreateMatterDTO {


    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "员工姓名")
    private String emplName;

    @ApiModelProperty(value = "创建人")
    private String creatorId;

    @ApiModelProperty(value = "更新人")
    private String updateId;

    //    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "最后更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "部门")
    private String deptTypeName1;

    @ApiModelProperty(value = "二级部门")
    private String deptTypeName2;

    @ApiModelProperty(value = "班组")
    private String deptTypeName3;
}
